package com.test.java;

import java.sql.SQLOutput;
import java.util.Scanner;

/**
 * 判断某一年是否是闰年
 */
public class test28 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入年份，判断是否是瑞年");
        long year = scanner.nextLong();
        if (year%4==0 && year%100!=0 || year%400==0){
            System.out.println("闰年");
        }else{
            System.out.println("普通年份");
        }

    }
}
